﻿using System.ComponentModel.DataAnnotations;

namespace DataServer.CommonLib.Models.DataSource
{
    public class DataSourceEditRequestDto
    {
        [Required] public string? SourceCode { get; set; }

        [Required] public string? SourceName { get; set; }

        public Guid? DatabaseId { get; set; }

        public string? DatabaseName { get; set; }

        public string? DatabaseObjectType { get; set; }

        public string? DatabaseObject { get; set; }

        public string? DynamicSearchText { get; set; }

        public int Sort { get; set; }

        public string? Description { get; set; }
    }
}